package com.hq.zb.model;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 合同模板变量信息
 * </p>
 *
 * @author huanghanrui
 * @since 2022-03-24
 */
@Data
@TableName("cus_contract_variable")
public class ContractVariable extends BaseModel<ContractVariable> {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 合同模板
     */
    @TableField("contract_mould")
    private String contractMould;
    /**
     * 变量名称
     */
    @TableField("variable_title")
    private String variableTitle;
    /**
     * 变量默认值
     */
    @TableField("variable_value")
    private String variableValue;

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
